<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/25
  Time: 10:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path=request.getScheme()+"://"
            +request.getServerName()+":"
            +request.getServerPort()+
            request.getContextPath()+"/";
%>
<html>
<head>
    <base href="<%=path%>">
    <title>注册</title>
</head>
<body>

<form action="<%=path%>userSucc.jsp" method="post">

    <table border="1">
        <tr>
            <td>用户名：</td>
            <td><input type="text" name="userName"></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="password" name="pwd"></td>
        </tr>
        <tr>
            <td>性别：</td>
            <td>
                <input type="radio" name="sex" value="男" checked="checked">男
                <input type="radio" name="sex" value="女">女
            </td>
        </tr>
        <tr>
            <td>爱好：</td>
            <td>
                <input type="checkbox" name="hobby" value="篮球">篮球
                <input type="checkbox" name="hobby" value="排球">排球
                <input type="checkbox" name="hobby" value="唱歌">唱歌
                <input type="checkbox" name="hobby" value="跳舞">跳舞
                <input type="checkbox" name="hobby" value="看书">看书
                <input type="checkbox" name="hobby" value="写代码">写代码
            </td>
        </tr>
        <tr>
            <td>学历：</td>
            <td>
                <select name="education">
                    <option value="0">请选择</option>
                    <option value="1">博士</option>
                    <option value="2">研究生</option>
                    <option value="3">大学</option>
                    <option value="4">高中</option>
                    <option value="5">初中</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>注释：</td>
            <td>
                <textarea name="remark" cols="36" rows="3"></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <button type="submit">注册</button>
                <button type="reset">清空</button>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
